type2idx_dict = {
    "Background": [0],
    "Corn": [1],
    "Cotton": [2],
    "Rice": [3],
    "Sorghum": [4],
    "Soybeans": [5],
    "Sunflower": [6],
    "Peanuts": [10],
    "Tobacco": [11],
    "Sweet Corn": [12],
    "Pop or Orn Corn": [13],
    "Mint": [14],
    "Barley": [21],
    "Durum Wheat": [22],
    "Spring Wheat": [23],
    "Winter Wheat": [24],
    "Other Small Grains": [25],
    "Dbl Crop WinWht/Soybeans": [26],
    "Rye": [27],
    "Oats": [28],
    "Millet": [29],
    "Speltz": [30],
    "Canola": [31],
    "Flaxseed": [32],
    "Safflower": [33],
    "Rape Seed": [34],
    "Mustard": [35],
    "Alfalfa": [36],
    "Other Hay/Non Alfalfa": [37],
    "Camelina": [38],
    "Buckwheat": [39],
    "Sugarbeets": [41],
    "Dry Beans": [42],
    "Potatoes": [43],
    "Other Crops": [44],
    "Sugarcane": [45],
    "Sweet Potatoes": [46],
    "Misc Vegs & Fruits": [47],
    "Watermelons": [48],
    "Onions": [49],
    "Cucumbers": [50],
    "Chick Peas": [51],
    "Lentils": [52],
    "Peas": [53],
    "Tomatoes": [54],
    "Caneberries": [55],
    "Hops": [56],
    "Herbs": [57],
    "Clover/Wildflowers": [58],
    "Sod/Grass Seed": [59],
    "Switchgrass": [60],
    "Fallow/Idle Cropland": [61],
    "Pasture/Grass": [62],
    "Forest": [63],
    "Shrubland": [64, 152],
    "Barren": [65, 131],
    "Cherries": [66],
    "Peaches": [67],
    "Apples": [68],
    "Grapes": [69],
    "Christmas Trees": [70],
    "Other Tree Crops": [71],
    "Citrus": [72],
    "Pecans": [74],
    "Almonds": [75],
    "Walnuts": [76],
    "Pears": [77],
    "Clouds/No Data": [81],
    "Developed": [82],
    "Water": [83],
    "Wetlands": [87],
    "Nonag/Undefined": [88],
    "Aquaculture": [92],
    "Open Water": [111],
    "Perennial Ice/Snow": [112],
    "Developed/Open Space": [121],
    "Developed/Low Intensity": [122],
    "Developed/Med Intensity": [123],
    "Developed/High Intensity": [124],
    "Deciduous Forest": [141],
    "Evergreen Forest": [142],
    "Mixed Forest": [143],
    "Grassland Herbaceous": [171],
    "Grassland": [176],
    "Pasture/Hay": [181],
    "Woody Wetlands": [190],
    "Herbaceous Wetlands": [195],
    "Pistachios": [204],
    "Triticale": [205],
    "Carrots": [206],
    "Asparagus": [207],
    "Garlic": [208],
    "Cantaloupes": [209],
    "Prunes": [210],
    "Olives": [211],
    "Oranges": [212],
    "Honeydew Melons": [213],
    "Broccoli": [214],
    "Avocados": [215],
    "Peppers": [216],
    "Pomegranates": [217],
    "Nectarines": [218],
    "Greens": [219],
    "Plums": [220],
    "Strawberries": [221],
    "Squash": [222],
    "Apricots": [223],
    "Vetch": [224],
    "Dbl Crop WinWht/Corn": [225],
    "Dbl Crop Oats/Corn": [226],
    "Lettuce": [227],
    "Dbl Crop Triticale/Corn": [228],
    "Pumpkins": [229],
    "Dbl Crop Lettuce/Durum Wht": [230],
    "Dbl Crop Lettuce/Cantaloupe": [231],
    "Dbl Crop Lettuce/Cotton": [232],
    "Dbl Crop Lettuce/Barley": [233],
    "Dbl Crop Durum Wht/Sorghum": [234],
    "Dbl Crop Barley/Sorghum": [235],
    "Dbl Crop WinWht/Sorghum": [236],
    "Dbl Crop Barley/Corn": [237],
    "Dbl Crop WinWht/Cotton": [238],
    "Dbl Crop Soybeans/Cotton": [239],
    "Dbl Crop Soybeans/Oats": [240],
    "Dbl Crop Corn/Soybeans": [241],
    "Blueberries": [242],
    "Cabbage": [243],
    "Cauliflower": [244],
    "Celery": [245],
    "Radishes": [246],
    "Turnips": [247],
    "Eggplants": [248],
    "Gourds": [249],
    "Cranberries": [250],
    "Dbl Crop Barley/Soybeans": [254],
}
idx2type_dict = {
    0: "Background",
    1: "Corn",
    2: "Cotton",
    3: "Rice",
    4: "Sorghum",
    5: "Soybeans",
    6: "Sunflower",
    10: "Peanuts",
    11: "Tobacco",
    12: "Sweet Corn",
    13: "Pop or Orn Corn",
    14: "Mint",
    21: "Barley",
    22: "Durum Wheat",
    23: "Spring Wheat",
    24: "Winter Wheat",
    25: "Other Small Grains",
    26: "Dbl Crop WinWht/Soybeans",
    27: "Rye",
    28: "Oats",
    29: "Millet",
    30: "Speltz",
    31: "Canola",
    32: "Flaxseed",
    33: "Safflower",
    34: "Rape Seed",
    35: "Mustard",
    36: "Alfalfa",
    37: "Other Hay/Non Alfalfa",
    38: "Camelina",
    39: "Buckwheat",
    41: "Sugarbeets",
    42: "Dry Beans",
    43: "Potatoes",
    44: "Other Crops",
    45: "Sugarcane",
    46: "Sweet Potatoes",
    47: "Misc Vegs & Fruits",
    48: "Watermelons",
    49: "Onions",
    50: "Cucumbers",
    51: "Chick Peas",
    52: "Lentils",
    53: "Peas",
    54: "Tomatoes",
    55: "Caneberries",
    56: "Hops",
    57: "Herbs",
    58: "Clover/Wildflowers",
    59: "Sod/Grass Seed",
    60: "Switchgrass",
    61: "Fallow/Idle Cropland",
    62: "Pasture/Grass",
    63: "Forest",
    64: "Shrubland",
    65: "Barren",
    66: "Cherries",
    67: "Peaches",
    68: "Apples",
    69: "Grapes",
    70: "Christmas Trees",
    71: "Other Tree Crops",
    72: "Citrus",
    74: "Pecans",
    75: "Almonds",
    76: "Walnuts",
    77: "Pears",
    81: "Clouds/No Data",
    82: "Developed",
    83: "Water",
    87: "Wetlands",
    88: "Nonag/Undefined",
    92: "Aquaculture",
    111: "Open Water",
    112: "Perennial Ice/Snow",
    121: "Developed/Open Space",
    122: "Developed/Low Intensity",
    123: "Developed/Med Intensity",
    124: "Developed/High Intensity",
    131: "Barren",
    141: "Deciduous Forest",
    142: "Evergreen Forest",
    143: "Mixed Forest",
    152: "Shrubland",
    171: "Grassland Herbaceous",
    176: "Grassland",
    181: "Pasture/Hay",
    190: "Woody Wetlands",
    195: "Herbaceous Wetlands",
    204: "Pistachios",
    205: "Triticale",
    206: "Carrots",
    207: "Asparagus",
    208: "Garlic",
    209: "Cantaloupes",
    210: "Prunes",
    211: "Olives",
    212: "Oranges",
    213: "Honeydew Melons",
    214: "Broccoli",
    215: "Avocados",
    216: "Peppers",
    217: "Pomegranates",
    218: "Nectarines",
    219: "Greens",
    220: "Plums",
    221: "Strawberries",
    222: "Squash",
    223: "Apricots",
    224: "Vetch",
    225: "Dbl Crop WinWht/Corn",
    226: "Dbl Crop Oats/Corn",
    227: "Lettuce",
    228: "Dbl Crop Triticale/Corn",
    229: "Pumpkins",
    230: "Dbl Crop Lettuce/Durum Wht",
    231: "Dbl Crop Lettuce/Cantaloupe",
    232: "Dbl Crop Lettuce/Cotton",
    233: "Dbl Crop Lettuce/Barley",
    234: "Dbl Crop Durum Wht/Sorghum",
    235: "Dbl Crop Barley/Sorghum",
    236: "Dbl Crop WinWht/Sorghum",
    237: "Dbl Crop Barley/Corn",
    238: "Dbl Crop WinWht/Cotton",
    239: "Dbl Crop Soybeans/Cotton",
    240: "Dbl Crop Soybeans/Oats",
    241: "Dbl Crop Corn/Soybeans",
    242: "Blueberries",
    243: "Cabbage",
    244: "Cauliflower",
    245: "Celery",
    246: "Radishes",
    247: "Turnips",
    248: "Eggplants",
    249: "Gourds",
    250: "Cranberries",
    254: "Dbl Crop Barley/Soybeans",
}
